package com.potenza.training.reply.feign;

import com.potenza.training.reply.entity.SubjectDifficultyEntity;
import com.potenza.training.reply.entity.SubjectTypeEntity;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@Component
public class SubjectFeginImpl implements SubjectFegin {

    @Override
    public SubjectTypeEntity findAllByName(@RequestParam String subjectType) {
        System.out.println("服务升级中！！！");
        return null;
    }

    @Override
    public List<SubjectTypeEntity> findTypeByPid(@PathVariable int pid) {
        System.out.println("服务升级中！！！");
        return null;
    }

    @Override
    public List<SubjectDifficultyEntity> findDifficultyByPid(int pid) {
        System.out.println("服务升级中！！！");
        return null;
    }
}
